WP_Defender\Model\Lockout_Log A

Total Complexity 61
Dependencies 4
Dependents 13
Total lines 636
Lines of code 312
Logical lines of code 163
Comment lines 140
Methods 20
Properties 10

Methods 20

Method Rating Maintainability Complexity Lines of code
query_logs()
A
47 11 35
get_log_tag()
S
58 7 18
get_log_container_class()
S
59 7 16
get_log_tag_class()
S
59 7 16
count()
S
50 6 29
format_logs()
S
43 4 51
ban_status_where()
S
55 4 19
get_last_lockout_date()
S
56 3 19
get_summary()
S
52 1 24
count_lockout_in_7_days()
S
63 1 13
count_lockout_in_30_days()
S
63 1 13
count_lockout_in_24_hours()
S
63 1 13
truncate()
S
74 1 5
count_ua_lockout_last_7_days()
S
72 1 5
count_404_lockout_last_7_days()
S
72 1 5
count_login_lockout_last_7_days()
S
72 1 5
get_logs_and_format()
S
74 1 4
find_by_id()
S
71 1 6
delete()
S
68 1 8
remove_logs()
S
67 1 8